CON
  _clkmode        = xtal1 + pll16x
  _xinfreq        = 5_000_000


obj
  ser:  "FullDuplexSerial"

pub go


  ser.start(-1, 0, 0, 38_400)

  


  repeat
    ser.str(@smoke)
    waitcnt(cnt + clkfreq)
    ser.str(@test1)
    waitcnt(cnt + clkfreq)



dat


smoke   byte  $0C, "Daniel Harris", $0A, $0D, "W00t", 0
test1   byte  $0C, "This is just a", $0A, $0D, "test", 0
  
